# -- coding: utf-8 --

# @Author  : 游婷

# @File    : GetKeyWords.py

# @Project : 6.19 allure生产报告
import jsonpath


class GetKeyWords(object):
    @staticmethod
    def get_word(data,key):
        result=jsonpath.jsonpath(data,f"$..{key}")
        return result
